package com.lesserpand.rabbitmq.threadpool;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.redis.core.StringRedisTemplate;

/**
 * @author pand
 * @version 0.0.1
 * @package com.topinfo.locationservice.utils.thread
 * @description 线程具体需要执行的任务
 * @date Created in 2019/4/1 15:00
 * @company tuxun
 * @copyright Copyright (c) 2017
 * @modified By
 */
public class SyncRunnable implements Runnable {

    private static final Logger LOGGER = LoggerFactory.getLogger(SyncRunnable.class);


    private StringRedisTemplate stringRedisTemplate;

    /**
     * 是否是第二次遍历，是：true  否：false
     */
    private Boolean flag;

    public SyncRunnable(StringRedisTemplate stringRedisTemplate) {
        this.stringRedisTemplate = stringRedisTemplate;
    }

    /**
     * 业务逻辑处理
     * 业务逻辑处理
     * 业务逻辑处理
     * 业务逻辑处理
     */
    @Override
    public void run() {
        // 业务逻辑处理


    }

}
